const util = require('../../../utils/util.js');
const api = require('../../../config/api.js');
var that;
Page({
  data: {
    bill:{}
  },
  onLoad: function (options) {
    that = this;
    console.log('billlll', options.bill);
    var bill = JSON.parse(options.bill);
    wx.setNavigationBarTitle({
      title: bill.bigMonthTxt+'月账单明细',
    })
    that.setData({
      bill: bill
    });
  },
  onReady: function () {
    // 页面渲染完成
  },
  onShow: function () {
    // 页面显示
  },
  onHide: function () {
    // 页面隐藏
  },
  onUnload: function () {
    // 页面关闭
  },
  onPullDownRefresh(){
    wx.stopPullDownRefresh();
  },
})
